/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DAO;

import java.util.List;
import javabeans.GroupPlan;

/**
 *
 * @author liweijiao
 */
public interface IGroupPlan {

    public GroupPlan newGroupPlan(GroupPlan gplan);

    public boolean updateGroupPlan(GroupPlan gplan);

    public boolean deleteGroupPlan(GroupPlan gplan);

    public GroupPlan getGroupPlan(int gplanid);

    public List<GroupPlan> getGroupPlanbyUserId(int userid);

    public List<GroupPlan> viewAllGroupPlan();
}
